<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="${request.contextPath}/js/jquery.js" type="text/javascript"/>

    <script>
        $(function(){
        $(#showimg).click(function(){
    alert("111111");
    });
        });
    </script>
</head>
<body>
欢迎 ${user2}
<#if (age2 < 18) >-小朋友
<#elseif (age2 > 30) >大叔
<#else> 帅哥/美女
</#if>
登录<br>
<table border="1">
    <tr>
        <td>name</td>
        <td>age</td>
        <td>gender</td>
    </tr>
        <#list list2?sort_by("id")?reverse as stu>
        <tr>
            <td>${stu.id}</td>
            <td>${stu.username}</td>
            <td>${stu.password}</td>
        </tr>
        </#list>
</table>
<hr>
<img id="showimg" src="${request.contextPath}/imgs/2.png" width="50" height="50"/>




</body>
</html>